package com.rshare.domain.cg;

import java.util.Date;
import java.util.List;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.rshare.cloudapi.common.DateDeserializer;
import com.rshare.cloudapi.common.DateSerializer;
import com.rshare.cloudapi.domain.cg.APOK;
import com.rshare.cloudapi.domain.common.BaseBean;

public class APOKQR extends BaseBean {

	private static final long serialVersionUID = 1L;

	private String shdid; // 收货单号
	private Date ywrq; // 业务日期
	private String swlxid; // 事务类型
	private Date jhdhrq; // 计划到货日期
	private String gysid; // 供应商编码
	private String gysmc; // 供应商名称
	private String bmid; // 采购部门
	private String cgyid; // 采购员
	private String jsfs; // 结算方式
	private String hbid; // 结算货币
	private float hl; // 汇率
	private String ckid; // 仓库
	private String bz; // 备注

	private List<APOK> mxs;

	public String getShdid() {
		return shdid;
	}

	public void setShdid(String shdid) {
		this.shdid = shdid;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getYwrq() {
		return ywrq;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setYwrq(Date ywrq) {
		this.ywrq = ywrq;
	}

	public String getSwlxid() {
		return swlxid;
	}

	public void setSwlxid(String swlxid) {
		this.swlxid = swlxid;
	}

	@JsonSerialize(using = DateSerializer.class)
	public Date getJhdhrq() {
		return jhdhrq;
	}

	@JsonDeserialize(using = DateDeserializer.class)
	public void setJhdhrq(Date jhdhrq) {
		this.jhdhrq = jhdhrq;
	}

	public String getGysid() {
		return gysid;
	}

	public void setGysid(String gysid) {
		this.gysid = gysid;
	}

	public String getGysmc() {
		return gysmc;
	}

	public void setGysmc(String gysmc) {
		this.gysmc = gysmc;
	}

	public String getBmid() {
		return bmid;
	}

	public void setBmid(String bmid) {
		this.bmid = bmid;
	}

	public String getCgyid() {
		return cgyid;
	}

	public void setCgyid(String cgyid) {
		this.cgyid = cgyid;
	}

	public String getJsfs() {
		return jsfs;
	}

	public void setJsfs(String jsfs) {
		this.jsfs = jsfs;
	}

	public String getHbid() {
		return hbid;
	}

	public void setHbid(String hbid) {
		this.hbid = hbid;
	}

	public String getCkid() {
		return ckid;
	}

	public void setCkid(String ckid) {
		this.ckid = ckid;
	}

	public float getHl() {
		return hl;
	}

	public void setHl(float hl) {
		this.hl = hl;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public List<APOK> getMxs() {
		return mxs;
	}

	public void setMxs(List<APOK> mxs) {
		this.mxs = mxs;
	}

}
